package cc.uncarbon.module.custom.entity;

import cc.uncarbon.framework.crud.entity.HelioBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import java.time.LocalDate;
import java.time.LocalDateTime;
import cc.uncarbon.framework.core.enums.YesOrNoEnum;
import cc.uncarbon.framework.core.enums.EnabledStatusEnum;


/**
 * 数据表注释
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "blink")
public class BlinkEntity extends HelioBaseEntity<Long> {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "名称")
    @TableField(value = "name")
    private String name;

    @Schema(description = "跳转地址")
    @TableField(value = "path")
    private String path;

    @Schema(description = "排序")
    @TableField(value = "sort")
    private Integer sort;

    @Schema(description = "图片地址")
    @TableField(value = "url")
    private String url;

    @Schema(description = "状态（0禁用，1正常")
    @TableField(value = "status")
    private EnabledStatusEnum status;

    @Schema(description = "店铺id")
    @TableField(value = "store_id")
    private Long storeId;

}
